import request from '@/utils/request';

// 拜年照融合
export function MergeYearFace(data) {
  return request({
    url: '/cloudApi/marketing/year/saveYear',
    method: 'post',
    data
  })
}

// 获取拜年照的结果
export function GetMergeYearFaceResult(params) {
  return request({
    url: '/cloudApi/marketing/year/getById',
    method: 'get',
    params
  })
}

// 上传拜年视频
export function UploadNewYearVideo(data) {
  return request({
    url: '/cloudApi/datacenter/file/uploadVideoFile',
    method: 'post',
    data
  })
}

// 保存拜年的视频
export function SaveNewYearVideo(data) {
  return request({
    url: '/cloudApi/marketing/year/saveVideoYear',
    method: 'post',
    data
  })
}
